#define _CRT_SECURE_NO_WARNINGS 1 
#include<stdio.h>

int main()
{
	int N = 0, M = 0;
	scanf()
	return 0;
}
